package cn.easy.mortgage.config;

import cn.easy.report.utils.BeetlUtil;
import org.apache.logging.log4j.core.config.Order;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
@Order(1)
public class BeetlStartupRunner implements CommandLineRunner {

    @Override
    public void run(String... strings) throws Exception {
        BeetlUtil.addFn("currentChannel", "cn.easy.mortgage.beetl.CurrentChannel");
    }
}
